package com.mbc.web.common.client.ui;

import java.util.ArrayList;

import com.google.gwt.event.logical.shared.CloseHandler;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.PopupPanel;

public abstract class ModalForm<T> extends Composite {
	public abstract void setScrollSize(String width, String height);
	protected T selectedInfo;
	public abstract T getSelectedInfo();
	public abstract String getHeader();
	protected abstract void initialize();
	protected abstract void bindDisplay(ArrayList<T> infoList);
	protected abstract void search();
	public abstract void showDialog(CloseHandler<PopupPanel> closeHandler);
}
